home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1994 February: Tool Chest / Dev.CD Feb 94.toast / New System Software Extensions / QuickDraw™ GX v1.0ß2 / Interfaces & Libraries / interfaces / graphics macintosh.h < prev    next >
Encoding:
C/C++ Source or Header  |  1993-07-29  |  1000 b   |  32 lines  |  [TEXT/MPS ]

  1. /* graphics:
  2.     macintosh interfaces
  3.     by Cary Clark, Georgiann Delaney, Michael Fairman, Dave Good, Robert Johnson, Keith McGreggor, Oliver Steele, David Van Brink, Chris Yerga
  4.     Copyright 1987 - 1991 Apple Computer, Inc.  All rights reserved.    */
  5.  
  6.  
  7. #ifndef graphicsMacintoshIncludes
  8.     #define graphicsMacintoshIncludes
  9.  
  10.     #ifndef memoryTypesIncludes
  11.         #include "memory types.h"
  12.     #endif
  13.  
  14.     #define gestaltGraphicsVersion            'grfx'        /* gestalt version selector */
  15.     #define gestaltCurrentGraphicsVersion    0x00000010    /* the version described by these headers */
  16.  
  17.     #define gestaltGraphicsAttr            'gfxa'        /* gestalt attributes selector */
  18.     #define gestaltGraphicsIsDebugging        0
  19.     #define gestaltGraphicsIsLoaded        1
  20.  
  21.      #ifdef appleInternal
  22.         #define GXInlineCode(x)
  23.     #endif
  24.     #ifndef GXInlineCode
  25.         #define GXInlineCode(x)    = {0x303C, x, 0xA832}
  26.     #endif
  27.  
  28.     void SetConcurrentSemaphores(long refCon, void (*beginCritical)(long refCon), void (*endCritical)(long refCon)) GXInlineCode(0x203A);
  29.  
  30.     #undef GXInlineCode
  31. #endif
  32.